//
//  PPUnreadMessageSummary.h
//  pickpic
//
//  Created by Jinxiao on 10/7/16.
//  Copyright © 2016 MicroDream. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSUInteger, PPUnreadMessageSummaryType) {
    PPUnreadMessageSummaryTypeUnknown = 0,
    PPUnreadMessageSummaryTypeMyNotify = 1,
    PPUnreadMessageSummaryTypeFriend,
    PPUnreadMessageSummaryTypeMiao,
    PPUnreadMessageSummaryTypeFound,
    PPUnreadMessageSummaryTypeFavorite
};

@interface PPUnreadMessageSummaryObject : NSObject

@property (readwrite, nonatomic, assign) PPUnreadMessageSummaryType type;

@property (readwrite, nonatomic, strong) NSNumber *count;

@property (readwrite, nonatomic, strong) NSString *iconKey;
@property (readwrite, nonatomic, strong) NSString *iconHost;

@property (readonly) NSString *iconURLString;

+ (instancetype)summaryForParameters:(NSDictionary *)parameters;

@end
